<?

JCAT_Package::ImportClass('JCAT_ViewGtk',JCAT::PACKAGE_MVCGTK) ;

class PrimaryDBAndLanguageView extends JCAT_ViewGtk implements JCAT_IViewForm
{
	/**
	 * 控件基本信息
	 * 
	 * @access	public
	 * @param	$aParent=null	JCAT_ViewGtk		拥有此视图的对象
	 * @param	$aUI=null		JCAT_UIGtkGlade		模版引擎
	 * @return	array
	 */
	public function PrimaryDBAndLanguageView( JCAT_IViewContainer $aParent, JCAT_UIGtkGlade $aUI=null )
	{
		$this->JCAT_ViewGtk('PrimaryDBAndLanguageView','PrimaryDBAndLanguageView','PrimaryDBAndLanguageView',$aParent,$aUI) ;
		
		
		// 创建 并 初始化 UICtrl ---------------------------
		$sUICtrlDir = dirname(__FILE__).'/Instance.UICtrl' ;
		$this->AddUICtrl(JCAT_Package::ImportInstance('DBDriver',$sUICtrlDir),'DBDriver') ;
		$this->AddUICtrl(JCAT_Package::ImportInstance('UseDB',$sUICtrlDir),'UseDB') ;
		$this->AddUICtrl(JCAT_Package::ImportInstance('DBServer',$sUICtrlDir),'DBServer') ;
		$this->AddUICtrl(JCAT_Package::ImportInstance('DBName',$sUICtrlDir),'DBName') ;
		$this->AddUICtrl(JCAT_Package::ImportInstance('DBUser',$sUICtrlDir),'DBUser') ;
		$this->AddUICtrl(JCAT_Package::ImportInstance('DBPassword',$sUICtrlDir),'DBPassword') ;
		$this->AddUICtrl(JCAT_Package::ImportInstance('Language',$sUICtrlDir),'Language') ;
		$this->AddUICtrl(JCAT_Package::ImportInstance('LanguagePackage',$sUICtrlDir),'LanguagePackage') ;
	}

}

JCAT_Package::ImportInterface('JCAT_IViewForm',JCAT::PACKAGE_MVC) ;

?>